package cn.yj.cgs.dba.entity;


import cn.yj.cgs.dba.BaseEntity;
import cn.yj.common.Enums;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author 永健
 * @since 2021-04-19 16:12:11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(value = "tb_integral_goods")
public class IntegralGoods extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * <br>
     * 编号
     */
    private String goodsNo;


    /**
     * <br>
     */
    private String goodName;


    /**
     * <br>
     * 价格
     */
    private BigDecimal price;

    private BigDecimal integralPrice;

    private String typeNo;

    /**
     * <br>
     */
    private String mainImgUrl;


    /**
     * <br>
     */
    private String videoUrl;


    /**
     * <br>
     */
    private Integer stock;


    /**
     * <br>
     */
    private String content;


    /**
     * <br>
     * on/off 上架/下架
     */
    private Enums.IntegralGood.STATUS status;

    /**
     * 轮播图
     */
    @TableField(exist = false)
    private List<String> swiper;

    @TableField(exist = false)
    private String typeName;

}

